package cn.example.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author : liang
 * @date :2020-4-27
 * 页面访问
 */
@Controller
@RequestMapping(path = {"/addSale", "test"})
public class ProductController {

    @GetMapping("test1")
    public String login() {
        return "test";
    }

    @GetMapping("index1")
    public String index1() {
        return "index1";
    }

    @GetMapping("uib-collapse")
    public String uibCollapse() {
        return "uib-collapse.html";
    }

    @GetMapping("promise")
    public String promise() {
        return "promise.html";
    }

    @GetMapping("model")
    public String model() {
        return "model";
    }

    @GetMapping("alert")
    public String alert() {
        return "alert";
    }
}
